/**
 * 
 */
package com.surfilter.code.model;

import java.util.List;


/** 
 * <p>Title:表信息</p>
 * <p>Description:</p>
 * <p>Company: 深圳任子行网络技术股份有限公司 </p>
 * @version 1.00 
 * @since 2012-10-22
 * @author liuhe
 *  
 * Modified History: 
 *  
 */
public class Table {

	/**
	 * 表名
	 */
	private String tableName;

	/**
	 * 表注释
	 */
	private String comment;

	/**
	 * 字段集合
	 */
	private List<Field> fieldList;
	
	/**
	 * 主键
	 */
	private PK pk;
	
	/**
	 * 外键集合
	 */
	private List<ForeignKey> foreignKeyList;
	
	/**
	 * 索引集合
	 */
	private List<Index> indexList;

	/**
	 * 触发器集合 
	 */
	private List<String> triggerList;
	
	public List<String> getTriggerList() {
		return triggerList;
	}

	public void setTriggerList(List<String> triggerList) {
		this.triggerList = triggerList;
	}

	public List<Field> getFieldList() {
		return fieldList;
	}

	public void setFieldList(List<Field> fieldList) {
		this.fieldList = fieldList;
	}

	public PK getPk() {
		return pk;
	}

	public void setPk(PK pk) {
		this.pk = pk;
	}

	public List<ForeignKey> getForeignKeyList() {
		return foreignKeyList;
	}

	public void setForeignKeyList(List<ForeignKey> foreignKeyList) {
		this.foreignKeyList = foreignKeyList;
	}

	public List<Index> getIndexList() {
		return indexList;
	}

	public void setIndexList(List<Index> indexList) {
		this.indexList = indexList;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
	
}
